<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/29 0029
 * Time: 14:07
 */

namespace App\Models\Admin;

use Illuminate\Database\Eloquent\Model;

class Statistics extends Model
{
    /**
     * @ 使用eloquent create方法能操作的 字段
     */
    protected $fillable = ['statistic_newuser_perday','statistic_newpic_perday','statistic_total_user_num','statistic_total_user_male_num','statistic_total_user_female_num','statistic_total_pic_num'];
    /**
     * 与模型关联的数据表
     */
    protected $table = 'y_statistics';
    /**
     * 与模型关联的数据表的主键
     */
    protected $primaryKey = 'statistic_id';

}